package com.yy.school.pojo;

public class Teacher {
    private Integer tid;
    private String tname;
    private String sex;
    private String tel;
    private String type;

    public Teacher() {
    }

    public Teacher(Integer tid, String tname, String sex, String tel, String type) {
        this.tid = tid;
        this.tname = tname;
        this.sex = sex;
        this.tel = tel;
        this.type = type;
    }

    /**
     * 获取
     * @return tid
     */
    public Integer getTid() {
        return tid;
    }

    /**
     * 设置
     * @param tid
     */
    public void setTid(Integer tid) {
        this.tid = tid;
    }

    /**
     * 获取
     * @return tname
     */
    public String getTname() {
        return tname;
    }

    /**
     * 设置
     * @param tname
     */
    public void setTname(String tname) {
        this.tname = tname;
    }

    /**
     * 获取
     * @return sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return tel
     */
    public String getTel() {
        return tel;
    }

    /**
     * 设置
     * @param tel
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    public String toString() {
        return "Teacher{tid = " + tid + ", tname = " + tname + ", sex = " + sex + ", tel = " + tel + ", type = " + type + "}";
    }
}
